<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="/tags/lwftags" prefix="lwftag" %>

<%@ page import="net.lwf.web.constant.IWebConstant"%>
<%@ page import="net.lwf.handler.util.ImageHtml"%>
   

<table width="100%" border="0" bordercolor="#FF7550A" align="center" cellpadding="0" cellspacing="0">
	<tr align="left" valign="top">
		<nested:iterate id="subject" name="tabMenuInfo">
			
			<logic:equal name="subject" property="emptyTab" value="false" >
				<nested:define id="subject_name" name="subject" property="name"/>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor="red">
					
					<tr >
						<td class="pmtitle1" height="60"><nested:write name="subject" property="name"/></td>
					</tr>	
					<tr>
						<td>

							<table border="0">
								<nested:iterate id="topic_n" name="subject" property="topicInfo">
								<nested:define id="topic_name" name="topic_n" property="name" />
								<tr>
									<td class="info_label" nowrap>Topic: <span><nested:write name="topic_n" property="name" /></span></td>
								</tr>	
								<tr>
									<td>
										<table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor="orange">
											<nested:iterate id="link_n" name="topic_n" property="linkInfo">
											<nested:define id="url"  name="link_n"  property="link"/>
											<tr>
												<td width="5%"><%=ImageHtml.getBulletImage()%></td>
												<td width="3%">&nbsp;</td>
												<%
													String linkurl = url + "&subject=" + subject_name + "&topic=" + topic_name;
												%>												
												<td width="92%" nowrap><a href="<%=linkurl%>"><nested:write name="link_n" property="name" /></a></td>
											</tr>
											</nested:iterate>
										</table>
									</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
								</tr>
								</nested:iterate>
							</table>

						</td>
					</tr>
				</table>
			</td>
			</logic:equal>
		</nested:iterate>
	</tr>
</table>
